#pragma once

#include<string>


class Msgbus;
class IoTMsg;
class Settings;

class SSIoT
{

public:
	SSIoT();
	~SSIoT();

	int		Init(int argc, char** argv);
	void	Fini();


public:
	static SSIoT* INST(void);

public:
	Msgbus* msgbug(void) {
		return msgbus_;
	}
	
	Settings* settings(void) {
		return settings_;
	}

	std::string SN(void);

	std::string Service(void);

private:
	static SSIoT* ssiot;

	Msgbus*		msgbus_;
	Settings*	settings_;
};
